<template>
  <el-icon>
    <component :is="icon"></component>
  </el-icon>
</template>
<script setup lang="ts" name="DIcon">
  defineProps({
    icon: {
      type: String,
      required: true
    }
  })
</script>
